home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
network
/
ka9q
/
ka9q_src.arc
/
AXMBX.H
< prev
next >
Wrap
C/C++ Source or Header
|
1988-07-28
|
634b
|
18 lines
/* cat > ./ax_mbx.h << '\Rogue\Monster\' */
/* Defines for the ax.25 mailbox facility */
#define MBXLINE 128 /* max length of line */
struct mbx {
int state ; /* mailbox state */
#define MBX_CMD 1 /* in command mode */
#define MBX_SUBJ 2 /* waiting for a subject line */
#define MBX_DATA 3 /* collecting the message */
char name[10] ; /* Name of remote station */
struct ax25_cb *ax25_cb ; /* link control block */
char *to ; /* Addressee */
FILE *tfile ; /* Temporary file for message */
char line[MBXLINE+1] ; /* Room for null at end */
char *lp ; /* line pointer */
} ;
#define NULLMBX (struct mbx *)0